package autokeyboard.gui;

import java.awt.Dimension;
import java.awt.Graphics;
import java.awt.Image;
import java.net.URL;

import javax.swing.JPanel;

@SuppressWarnings("serial")
public class PanelPicture extends JPanel {
		public URL folder = null ;
		
		public void paintComponent(Graphics g)
		{
			Dimension d = getSize();
	        Image img=this.getToolkit().getImage(folder);
	        g.drawImage(img, 0, 0, d.width, d.height, this);

	        setOpaque( false );  
	        super.paintComponent(g);
		}
		
}
